﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ChiTietSanPham.aspx.cs" Inherits="WebApplication1.ChiTietSanPham" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div style="width:580px; padding-top:0px;">
<div class="ct_top">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"><h1>Chi tiết sản phẩm</h1></div>
</div> 
 <div class="ct_middle">
  
    <asp:DataList ID="DataList1" runat="server" onitemcommand="DataList1_ItemCommand">
    <ItemTemplate>
    <center>
    <table class="chitiet">
    <tr>
    <td class="name">Mã sản phẩm</td>
    <td class="value"><asp:Label ID="LbID" runat="server" Text='<%#Eval("Idsp") %>'></asp:Label> </td>
    <td class="name">Tên sản phẩm</td>
    <td class="value"><asp:Label ID="LbTen" runat="server" Text='<%#Eval("Tensp") %>'></asp:Label></td>
    </tr>
        <tr>
    <td class="name">Kiểu dáng</td>
    <td class="value"><asp:Label ID="Lbkieudang" runat="server" Text='<%#Eval("Kieudang") %>'></asp:Label></td>
    <td class="name">Chất liệu</td>
    <td class="value"><asp:Label ID="Lbchatlieu" runat="server" Text='<%#Eval("Chatlieu") %>'></asp:Label></td>
    </tr>
    
        <tr>
    <td class="name">Size</td>
    <td class="value"><asp:Label ID="Lbkichco" runat="server" Text='<%#Eval("Kichco") %>'></asp:Label></td>
    <td class="name">Màu sắc</td>
    <td class="value"><asp:Label ID="Lbmau" runat="server" Text='<%#Eval("Mau") %>'></asp:Label></td>
    </tr>
    
    <tr>
    <td class="name">Xuất xứ</td>
    <td class="value"><asp:Label ID="Lbxuatxu" runat="server" Text='<%#Eval("Xuatxu") %>'></asp:Label></td>
    <td class="name">Giá</td>
    <td class="value"><asp:Label ID="LbGia" runat="server" Text='<%#Eval("Dongia") %>'></asp:Label> Đ</td>
    </tr>
    <tr>
    <td colspan="3" style="" align="right">
    <div style="color:Red"><asp:Label ID="Lbthongbao" runat="server" Text=""></asp:Label></div>
    Số lượng:
    <asp:DropDownList ID="ddlsoluong" runat="server" Width="50px">
        <asp:ListItem Selected="True">1</asp:ListItem>
        <asp:ListItem>2</asp:ListItem>
        <asp:ListItem>3</asp:ListItem>
        </asp:DropDownList>
       </td>
        <td>
               <asp:ImageButton ID="ImageButton_datmua" runat="server" CommandName="datmua"  CommandArgument='<%#Eval("Idsp") %>'
                ImageUrl="~/Images/datmua.gif" Height="22px" />
        </td>
    </tr>
    </table>
    <center>
    <div style="float:left; padding:10px 0 10px 95px">
    
    <asp:Image ID="Image1" Width="390px" ImageUrl='<%#Eval("Hinh") %>' runat="server"></asp:Image>
    
    </div>
    </center>
    <div style=" padding:0px 0 0 0px; ">
       </div>
    </center>
    </ItemTemplate>
        </asp:DataList>
        
</div>
<div class="ct_bottom">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"></div>
</div>
 </div>
</asp:Content>
